package com.liqi.display.mapper;

import com.liqi.display.entity.TblAnnounceNumber;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liqi
 * @since 2021-04-16
 */
public interface TblAnnounceNumberMapper extends BaseMapper<TblAnnounceNumber> {

    List<TblAnnounceNumber> getList(Date date);
    
    /**
     * 获取平均等待时间
     * @param date
     * @return
     */
    double getWaitTime(Date date);

}
